import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Checkbox, Cell, CellGroup, Overlay, PullRefresh, Field, Sticky, Button, Uploader, Form, Toast, Icon, Popup, Calendar, Picker, List, Tab, Tabs, Step, Steps, Loading, ImagePreview, Image as VanImage } from 'vant'
import 'amfe-flexible'
import './wxAuth'

// Vue.config.productionTip = false

Vue.use(Overlay)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Field)
Vue.use(Button)
Vue.use(Form)
Vue.use(Toast)
Vue.use(Icon)
Vue.use(Popup)
Vue.use(Picker)
Vue.use(Calendar)
Vue.use(List)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Step)
Vue.use(Steps)
Vue.use(Uploader)
Vue.use(Loading)
Vue.use(ImagePreview)
Vue.use(VanImage)
Vue.use(Sticky)
Vue.use(PullRefresh)
Vue.use(Checkbox)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
